Skip to content

gh-142307: deprecate legacy support for altering IMAP4.file#142335

Merged
hugovk merged 4 commits intopython:mainfrom
picnixz:fix/imaplib/property-142307
May 6, 2026
Merged

gh-142307: deprecate legacy support for altering IMAP4.file#142335
hugovk merged 4 commits intopython:mainfrom
picnixz:fix/imaplib/property-142307

Conversation

@picnixz
Copy link
Copy Markdown
Member

@picnixz picnixz commented Dec 6, 2025

The IMAP4.file attribute was never meant to be part of the public API. Previously, this attribute was created when opening a connection but subsequent changes may introduce a desynchronization with the underlying socket as the previous file is not closed.


📚 Documentation preview 📚: https://cpython-previews--142335.org.readthedocs.build/

The ``IMAP4.file`` attribute was never meant to be part of
the public API. Previously, this attribute was created when
opening a connection but subsequent changes may introduce a
desynchronization with the underlying socket as the previous
file is not closed.
Comment thread Lib/test/test_imaplib.py Outdated
@picnixz picnixz changed the title gh-142307: restore legacy support for altering IMAP4.file gh-142307: deprecate legacy support for altering IMAP4.file Dec 6, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 3, 2026
@hugovk
Copy link
Copy Markdown
Member

hugovk commented May 6, 2026

Hang on, will fix this conflict resolution.

@read-the-docs-community
Copy link
Copy Markdown

@hugovk hugovk merged commit 7b6c248 into python:main May 6, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants